package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

// 选项详情表
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "answer")
public class Answer implements Serializable {

    private ObjectId id;
    private Long questionId;    // String类型， 问题编号
    private Long optionId;      // 选项编号
    private String option;      // 选项

    private Integer score;      // 选项分数


}
